QT += core gui xml

TARGET = TrafficSplosion

TEMPLATE = app

INCLUDEPATH += backend \
               frontend \
               framemanager

SOURCES += frontend/main.cpp \
           frontend/mainwindow.cpp \
           frontend/trafficview.cpp \
           frontend/roaditem.cpp \
           frontend/intersectionitem.cpp \
           frontend/vehicleitem.cpp \
           frontend/graphicsutilities.cpp \
           framemanager/framemanager.cpp \
           framemanager/frame.cpp \
           framemanager/vehicleframe.cpp \
           backend/driver.cpp \
           backend/line.cpp \
           backend/linesegment.cpp \
           backend/ray.cpp \
           backend/geometryutilities.cpp \
           backend/utilities.cpp \
           backend/world.cpp \
           backend/vehicle.cpp \
           backend/point.cpp \
           backend/streetmap.cpp \
           backend/circle.cpp \
           backend/trafficcontrol.cpp \
    frontend/trafficcontrolitem.cpp \
    framemanager/trafficcontrolframe.cpp

HEADERS += frontend/mainwindow.h \
           frontend/trafficview.h \
           frontend/roaditem.h \
           frontend/intersectionitem.h \
           frontend/graphicsutilities.h \
           frontend/vehicleitem.h \
           framemanager/framemanager.h \
           framemanager/frame.h \
           framemanager/vehicleframe.h \
           backend/driver.h \
           backend/line.h \
           backend/linesegment.h \
           backend/ray.h \
           backend/circle.h \
           backend/geometryutilities.h \
           backend/utilities.h \
           backend/world.h \
           backend/vehicle.h \
           backend/point.h \
           backend/streetmap.h \
           backend/trafficcontrol.h \
    frontend/trafficcontrolitem.h \
    framemanager/trafficcontrolframe.h \
    backend/trafficcontrol.h

FORMS += frontend/mainwindow.ui

OTHER_FILES += config/test_map.xml \
               config/test_scenario.xml \
               config/drag_race.xml \
               config/swerves.xml \
               config/default_types.xml \
    config/collision_test3.xml \
    config/collision_test1.xml \
    config/test_controls.xml

CONFIG += console

RESOURCES += frontend/res.qrc
